package com.jindy.module.oaContractApply.service;

import java.util.List;
import com.jindy.module.oaContractApply.domain.SyOaContract;
import com.jindy.module.oaEvectionApproval.domain.SyOaEvection;

/**
 * 智能合同审批Service接口
 * 
 * @author jindy
 * @date 2023-06-29
 */
public interface ISyOaContractService 
{
    /**
     * 查询智能合同审批
     * 
     * @param id 智能合同审批主键
     * @return 智能合同审批
     */
    public SyOaContract selectSyOaContractById(Long id);

    /**
     * 查询智能合同审批列表
     * 
     * @param syOaContract 智能合同审批
     * @return 智能合同审批集合
     */
    public List<SyOaContract> selectSyOaContractList(SyOaContract syOaContract);

    /**
     * 新增智能合同审批
     * 
     * @param syOaContract 智能合同审批
     * @return 结果
     */
    public int insertSyOaContract(SyOaContract syOaContract);

    /**
     * 修改智能合同审批
     * 
     * @param syOaContract 智能合同审批
     * @return 结果
     */
    public int updateSyOaContract(SyOaContract syOaContract);

    /**
     * 批量删除智能合同审批
     * 
     * @param ids 需要删除的智能合同审批主键集合
     * @return 结果
     */
    public int deleteSyOaContractByIds(Long[] ids);

    /**
     * 删除智能合同审批信息
     * 
     * @param id 智能合同审批主键
     * @return 结果
     */
    public int deleteSyOaContractById(Long id);

    /**
     * 提交申请
     * @param syOaContract
     */
    void submitApply(SyOaContract syOaContract) throws Exception;
}
